package com.cd2cd.dom.page;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;
import java.util.Map;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class WebTableColumn {

    private String title;

    private String dataIndex;

    // 是否不显示
    private Boolean hideInSearch;

    // 是否不显示
    private Boolean hideInTable;

    // 是否不显示
    private Boolean hideInForm;

    // 是否不显示
    private Boolean hideInSetting;

    // 创建表单是否显示
    private Boolean showCreateForm;

    // 修改表单是否显示
    private Boolean showUpdateForm;

    private Integer order;

    private Boolean init;

    private List<WebTableValueEnumProps> valueEnum;

    private WebTableFormItemProps formItemProps;

    private String valueType;

    private FieldProps fieldProps;

    public FieldProps getFieldProps() {
        return fieldProps;
    }

    public void setFieldProps(FieldProps fieldProps) {
        this.fieldProps = fieldProps;
    }

    public Boolean getShowCreateForm() {
        return showCreateForm;
    }

    public void setShowCreateForm(Boolean showCreateForm) {
        this.showCreateForm = showCreateForm;
    }

    public Boolean getShowUpdateForm() {
        return showUpdateForm;
    }

    public void setShowUpdateForm(Boolean showUpdateForm) {
        this.showUpdateForm = showUpdateForm;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDataIndex() {
        return dataIndex;
    }

    public void setDataIndex(String dataIndex) {
        this.dataIndex = dataIndex;
    }

    public Boolean getHideInSearch() {
        return hideInSearch;
    }

    public void setHideInSearch(Boolean hideInSearch) {
        this.hideInSearch = hideInSearch;
    }

    public Boolean getHideInTable() {
        return hideInTable;
    }

    public void setHideInTable(Boolean hideInTable) {
        this.hideInTable = hideInTable;
    }

    public Boolean getHideInForm() {
        return hideInForm;
    }

    public void setHideInForm(Boolean hideInForm) {
        this.hideInForm = hideInForm;
    }

    public Boolean getHideInSetting() {
        return hideInSetting;
    }

    public void setHideInSetting(Boolean hideInSetting) {
        this.hideInSetting = hideInSetting;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public Boolean getInit() {
        return init;
    }

    public void setInit(Boolean init) {
        this.init = init;
    }

    public List<WebTableValueEnumProps> getValueEnum() {
        return valueEnum;
    }

    public void setValueEnum(List<WebTableValueEnumProps> valueEnum) {
        this.valueEnum = valueEnum;
    }

    public WebTableFormItemProps getFormItemProps() {
        return formItemProps;
    }

    public void setFormItemProps(WebTableFormItemProps formItemProps) {
        this.formItemProps = formItemProps;
    }

    public String getValueType() {
        return valueType;
    }

    public void setValueType(String valueType) {
        this.valueType = valueType;
    }
}
